<?php

//冰结系技能

class Bufu extends SingleAttack {

	public function __construct() {
		$this->id = 127;
		$this->name = "ブフ";			//技能名称
		$this->type = 2;				//组别
		$this->atk_type = 2;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 10;
		$this->ap = 2;

		$this->pwr = 150;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正
		$this->plus = 1;      //复数减成

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->maxp = 100;		//随机波动上下限。
		$this->minp = 100;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
	}

}

class BufuLa extends SingleAttack {

	public function __construct() {
		$this->id = 128;
		$this->name = "ブフーラ";			//技能名称
		$this->type = 2;				//组别
		$this->atk_type = 2;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 25;
		$this->ap = 3;

		$this->pwr = 160;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正
		$this->plus = 1;      //复数减成

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->maxp = 100;		//随机波动上下限。
		$this->minp = 100;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
	}

}

class BufuDain extends SingleAttack {

	public function __construct() {
		$this->id = 129;
		$this->name = "ブフダイン";			//技能名称
		$this->type = 2;				//组别
		$this->atk_type = 2;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 40;
		$this->ap = 5;

		$this->pwr = 170;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正
		$this->plus = 1;      //复数减成

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->maxp = 100;		//随机波动上下限。
		$this->minp = 100;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
	}

	public function attk_desc($a,$b) {
		if($a->cid == 141) {
			$_SESSION['show'] .= $a->name."：“寒冰招来”<br>";
			CalHelper::cgdisplay('guiwood_dain.jpg');
		}
		parent::attk_desc($a,$b);
	}

}

class MahaBufu extends AllAttack {

	public function __construct() {
		$this->id = 130;
		$this->name = "マハブフ";			//技能名称
		$this->type = 2;				//组别
		$this->atk_type = 2;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 20;
		$this->ap = 3;

		$this->pwr = 150;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->plus = 1;			//复数减成
		$this->crt = 0;				//会心补正
		$this->plus = 1;      //复数减成

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率

		$this->tgtnum = 1;		//全体攻击时实际攻击人数

		$this->maxp = 100;		//随机波动上下限。
		$this->minp = 100;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
	}

}

class MahaBufuLa extends AllAttack {

	public function __construct() {
		$this->id = 131;
		$this->name = "マハブフーラ";			//技能名称
		$this->type = 2;				//组别
		$this->atk_type = 2;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 35;
		$this->ap = 4;

		$this->pwr = 160;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->plus = 1;			//复数减成
		$this->crt = 0;				//会心补正
		$this->plus = 1;      //复数减成

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率

		$this->tgtnum = 1;		//全体攻击时实际攻击人数

		$this->maxp = 100;		//随机波动上下限。
		$this->minp = 100;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
	}

}

class MahaBufuDain extends AllAttack {

	public function __construct() {
		$this->id = 132;
		$this->name = "マハブフダイン";			//技能名称
		$this->type = 2;				//组别
		$this->atk_type = 2;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 50;
		$this->ap = 6;

		$this->pwr = 170;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->plus = 1;			//复数减成
		$this->crt = 0;				//会心补正
		$this->plus = 1;      //复数减成

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率

		$this->tgtnum = 1;		//全体攻击时实际攻击人数

		$this->maxp = 100;		//随机波动上下限。
		$this->minp = 100;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
	}

	public function attk_desc($a,$b) {
		if($a->cid == 143) {
			CalHelper::spec_talk($this,1,"黑云招来，万里冰封！");
		} elseif($a->cid == 141) {
			CalHelper::spec_talk($this,2,"大地冰结！");
			CalHelper::cgdisplay('guiwood_dain.jpg');
		}
		$_SESSION['show'] .= $a->name."对".$b->name."发动".$this->name."<br>";
	}

}

class CrystalDust extends SingleAttack {

	public function __construct() {
		$this->id = 133;
		$this->name = "クリスタルダスト";			//技能名称
		$this->type = 2;				//组别
		$this->atk_type = 2;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 70;
		$this->ap = 7;

		$this->pwr = 250;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->plus = 1;			//复数减成
		$this->crt = 0;				//会心补正
		$this->plus = 1;      //复数减成

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->maxp = 115;		//随机波动上下限。
		$this->minp = 85;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
	}
	
	public function attk_desc($a,$b) {
		if($a->cid == 9) {
			CalHelper::spec_talk($this,1,"给老子看好了，这就是水晶星尘！呀哈——！<br>");
		}
		parent::attk_desc($a,$b);
	}

}

class DiamondDust extends AllAttack {

	public function __construct() {
		$this->id = 134;
		$this->name = "ダイヤモンドダスト";			//技能名称
		$this->type = 2;				//组别
		$this->atk_type = 2;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 75;
		$this->ap = 8;

		$this->pwr = 250;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->plus = 1;			//复数减成
		$this->crt = 0;				//会心补正
		$this->plus = 1;      //复数减成

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率

		$this->tgtnum = 1;		//全体攻击时实际攻击人数

		$this->maxp = 115;		//随机波动上下限。
		$this->minp = 85;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
	}
	
	public function attk_desc($a,$b) {
		if($a->cid == 2) {
			CalHelper::spec_talk($this,1,"降临吧冰雪的息吹！");
		}
		parent::attk_desc($a,$b);
	}

}

class ColdField extends SingleAttack {

	public function __construct() {
		$this->id = 135;
		$this->name = "大冷界";			//技能名称
		$this->type = 2;				//组别
		$this->atk_type = 2;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 60;
		$this->ap = 6;

		$this->pwr = 165;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->plus = 1;			//复数减成
		$this->crt = 0;				//会心补正
		$this->plus = 1;      //复数减成

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->maxp = 115;		//随机波动上下限。
		$this->minp = 85;

		$this->maxt = 3;		//攻击次数上下限
		$this->mint = 2;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
		$this->excid = array(58,125);
	}

	public function kill_desc($a,$b) {
		$_SESSION['show'] .= $b->name."遭冰柱穿喉。<br>";
	}

	public function post_action($a,$b) {
		if($this->ex == 1) {
			StatusHelper::vit_down_20($b);
		}
	}
}

class Neg273Degree extends SingleAttack {

	public function __construct() {
		$this->id = 136;
		$this->name = "絶対零度";			//技能名称
		$this->type = 2;				//组别
		$this->atk_type = 2;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 80;
		$this->ap = 10;

		$this->pwr = 260;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->plus = 1;			//复数减成
		$this->crt = 0;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->maxp = 125;		//随机波动上下限。
		$this->minp = 75;

		$this->maxt = 2;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
		$this->excid = array(27);
	}
	
	public function exskset() {
		$this->sp = 70;
		$this->ap = 9;
	}
}



class CloudFallDown extends SingleAttack {

	public function __construct() {
		$this->id = 137;
		$this->name = "妖雲水落";                   //技能名称
		$this->type = 2;                                //组别
		$this->atk_type = 2;    //0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;                  //消耗
		$this->sp = 70;
		$this->ap = 6;

		$this->pwr = 210;                       //基本攻击值
		$this->hits = 0;                        //最终命中补正
		$this->ahits = 0;                       //异常命中补正
		$this->shits = 0;                       //即死命中补正
		$this->crt = 0;                         //会心补正
		$this->plus = 1;      //复数减成

		$this->charge = 1;              //蓄力倍率,包含物理和魔法
		$this->res = 1;                 //耐性倍率

		$this->tgtnum = 0;              //全体攻击时实际攻击人数

		$this->maxp = 110;              //随机波动上下限。
		$this->minp = 90;

		$this->maxt = 1;                //攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;                //是否贯通

		$this->all_atk = 0;             //是否万能攻击
		$this->ref = 0;                 //是否强制反射
		$this->excid = array(66);
	}

	public function exskset() {
		$this->pwr = 250;
		$this->sp = 80;
		$this->ap = 7;
	}

	public function post_action($a,$b) {
		StatusHelper::mgr_down_20($b);
	}
	
}

class PainSflash extends AllAttack {

	public function __construct() {
		$this->id = 138;
		$this->name = "ベインスプラッシュ";                   //技能名称
		$this->type = 2;                                //组别
		$this->atk_type = 2;    //0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;                  //消耗
		$this->sp = 160;
		$this->ap = 14;

		$this->pwr = 250;                       //基本攻击值
		$this->hits = 0;                        //最终命中补正
		$this->ahits = 0;                       //异常命中补正
		$this->shits = 0;                       //即死命中补正
		$this->crt = 15;                         //会心补正
		$this->plus = 1;      //复数减成

		$this->charge = 1;              //蓄力倍率,包含物理和魔法
		$this->res = 1;                 //耐性倍率

		$this->tgtnum = 1;              //全体攻击时实际攻击人数

		$this->maxp = 105;              //随机波动上下限。
		$this->minp = 95;

		$this->maxt = 2;                //攻击次数上下限
		$this->mint = 2;

		$this->thru = 0;                //是否贯通

		$this->all_atk = 0;             //是否万能攻击
		$this->ref = 0;                 //是否强制反射
		$this->isunique = 1;
	}

	public function arskset() {
		$this->maxt = 3;
		$this->mint = 3;
	}
	
}

class Maelstrom extends AllAttack {

	public function __construct() {
		$this->id = 139;
		$this->name = "メイルストローム";			//技能名称
		$this->type = 2;				//组别
		$this->atk_type = 2;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 170;
		$this->ap = 16;

		$this->pwr = 350;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正
		$this->plus = 1;      //复数减成

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率

		$this->tgtnum = 1;		//全体攻击时实际攻击人数

		$this->maxp = 75;		//随机波动上下限。
		$this->minp = 125;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 1;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
		$this->isunique = 1;

	}

	public function arskset() {
		$this->pwr = 400;
	}
	
	public function kill_desc($a,$b) {
		$_SESSION['show'] .= $b->name."在漩涡中被绞成碎肉。<br>";
	}

}

class CocytusPain extends SingleAttack {

	public function __construct() {
		$this->id = 140;
		$this->name = "コキュートスペイン";                   //技能名称
		$this->type = 2;                                //组别
		$this->atk_type = 2;    //0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;                  //消耗
		$this->sp = 150;
		$this->ap = 13;

		$this->pwr = 350;                       //基本攻击值
		$this->hits = 0;                        //最终命中补正
		$this->ahits = 0;                       //异常命中补正
		$this->shits = 0;                       //即死命中补正
		$this->crt = 10;                         //会心补正
		$this->plus = 1;      //复数减成

		$this->charge = 1;              //蓄力倍率,包含物理和魔法
		$this->res = 1;                 //耐性倍率

		$this->tgtnum = 0;              //全体攻击时实际攻击人数

		$this->maxp = 100;              //随机波动上下限。
		$this->minp = 100;

		$this->maxt = 1;                //攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;                //是否贯通

		$this->all_atk = 1;             //是否万能攻击
		$this->ref = 0;                 //是否强制反射
		$this->isunique = 1;
	}
	
	public function arskset() {
		$this->pwr = 400;
		$this->crt = 20;
	}
}

class Niflheim extends SingleAttack {

	public function __construct() {
		$this->id = 141;
		$this->name = "ニブルヘイム";                       //技能名称
		$this->type = 2;                                //组别
		$this->atk_type = 2;    //0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;                  //消耗
		$this->sp = 150;
		$this->ap = 13;

		$this->pwr = 350;                       //基本攻击值
		$this->hits = 20;                        //最终命中补正
		$this->ahits = 0;                       //异常命中补正
		$this->shits = 0;                       //即死命中补正
		$this->crt = 0;                         //会心补正
		$this->plus = 1;      //复数减成

		$this->charge = 1;              //蓄力倍率,包含物理和魔法
		$this->res = 1;                 //耐性倍率

		$this->tgtnum = 0;              //全体攻击时实际攻击人数

		$this->maxp = 100;              //随机波动上下限。
		$this->minp = 100;

		$this->maxt = 1;                //攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;                //是否贯通

		$this->all_atk = 0;             //是否万能攻击
		$this->ref = 0;                 //是否强制反射
		$this->abase = 50;
		$this->isunique = 1;
	}

	public function kill_desc($a,$b) {
		$_SESSION['show'] .= $b->name."化为冰雕。<br>";
	}

	public function post_action($a,$b) {
		StatusHelper::old($a,$b,$this->abase,$this);
	}

}

class MerFaith extends SingleAttack {

	public function __construct() {
		$this->id = 142;
		$this->name = "メル·ファイズ";			//技能名称
		$this->type = 2;				//组别
		$this->atk_type = 2;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 150;
		$this->ap = 12;

		$this->pwr = 350;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 20;				//会心补正
		$this->plus = 1;      //复数减成

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率

		$this->maxp = 125;		//随机波动上下限。
		$this->minp = 75;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->thru = 0;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 1;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->isunique = 1;
	}
	
	public function arskset() {
		$this->pwr = 390;
	}
	
	public function post_action($a,$b) {
		StatusHelper::str_down_20($b);
		if($this->ar == 1) {
			StatusHelper::spd_down_20($b);
		}
	}
}

class BloodyRain extends AllAttack {

	public function __construct() {
		$this->id = 143;
		$this->name = "ブラッディレイン";			//技能名称
		$this->type = 2;				//组别
		$this->atk_type = 2;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 160;
		$this->ap = 16;

		$this->pwr = 350;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正
		$this->plus = 1;      //复数减成

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率

		$this->maxp = 125;		//随机波动上下限。
		$this->minp = 75;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->tgtnum = 1;		//全体攻击时实际攻击人数

		$this->thru = 0;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 1;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->isunique = 1;
	}

	public function kill_desc($a,$b) {
		$_SESSION['show'] .= $b->name."在血雨腥风之中化为一滩血水。<br>";
	}

	public function attk_desc($a,$b) {
		$_SESSION['show'] .= $a->name."发动".$this->name."，天象骤变，漫天的血水铺天盖地般的落了下来。<br>";
	}

	public function post_action($a,$b) {
		StatusHelper::vit_down_20($b);
		StatusHelper::luk_down_20($b);
		if($this->ar == 1) {
			StatusHelper::str_down_20($b);
			StatusHelper::mgr_down_20($b);
			StatusHelper::spd_down_20($b);
		}
	}

}

class DeathRiver extends AllAttack {

	public function __construct() {
		$this->id = 618;
		$this->name = "死門の流水";			//技能名称
		$this->type = 2;				//组别
		$this->atk_type = 2;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 140;
		$this->ap = 12;

		$this->pwr = 300;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->plus = 1;			//复数减成
		$this->crt = 20;				//会心补正
		$this->plus = 1;      //复数减成

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率

		$this->tgtnum = 1;		//全体攻击时实际攻击人数

		$this->maxp = 100;		//随机波动上下限。
		$this->minp = 100;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 1;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
		$this->isunique = 1;
	}

}

class TitWolf extends AllAttack {

	public function __construct() {
		$this->id = 572;
		$this->name = "タイダルウェイブ";			//技能名称
		$this->type = 2;				//组别
		$this->atk_type = 2;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 140;
		$this->ap = 14;

		$this->pwr = 350;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->plus = 1;			//复数减成
		$this->crt = 0;				//会心补正
		$this->plus = 1;      //复数减成

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率

		$this->tgtnum = 1;		//全体攻击时实际攻击人数

		$this->maxp = 110;		//随机波动上下限。
		$this->minp = 90;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
		$this->isunique = 1;
	}

}

class NiceFrostWave extends SingleAttack {

	public function __construct() {
		$this->id = 573;
		$this->name = "大寒波";			//技能名称
		$this->type = 2;				//组别
		$this->atk_type = 2;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 130;
		$this->ap = 13;

		$this->pwr = 170;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->plus = 1;			//复数减成
		$this->crt = 0;				//会心补正
		$this->plus = 1;      //复数减成

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->maxp = 110;		//随机波动上下限。
		$this->minp = 90;

		$this->maxt = 5;		//攻击次数上下限
		$this->mint = 3;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
		$this->isunique = 1;
		$this->abase = 50;
	}

	public function arskset() {
		$this->maxt = 4;
		$this->mint = 4;
		$this->abase = 60;
	}
	
	public function post_action($a,$b) {
		StatusHelper::close($a,$b,$this->abase,$this);
	}
	
}

?>
